<html dir="ltr" lang="en">
<head>
  <meta charset="utf-8">
  <title>Blockly Turtle Graphics</title>
  <link rel="stylesheet" type="text/css" href="style.css">
  <script type="text/javascript" src="/storage.js"></script>
  <script type="text/javascript" src="../_soy/soyutils.js"></script>
  <script type="text/javascript" src="template.js"></script>
  <script>
    var MSG = {
      // Block text.
      moveForward: 'move forward by',
      moveBackward: 'move backward by',
      turnRight: 'turn right by',
      turnLeft: 'turn left by',
      setWidth: 'set width',
      setColour: 'set colour',
      penUp: 'pen up',
      penDown: 'pen down',
      hideTurtle: 'hide turtle',
      showTurtle: 'show turtle',
      print: 'print',
      font: 'font',
      fontSize: 'size',
      fontNormal: 'normal',
      fontBold: 'bold',
      fontItalic: 'italic',
      // Tooltips for general blocks.
      moveTooltip: 'Moves the turtle forward or backward\n' +
          'by the specified amount.',
      turnTooltip: 'Turns the turtle left or right\n' +
          'by the specified number of degrees.',
      widthTooltip: 'Changes the width of the pen.',
      penTooltip: 'Lifts or lowers the pen,\n' +
          'to start or stop drawing.',
      colourTooltip: 'Changes the colour of the pen.',
      turtleVisibilityTooltip: 'Makes the turtle (green circle and arrow) visible or invisible.',
      printTooltip: 'Draws text in the turtle\'s direction at its location.',
      fontTooltip: 'Sets the font used by the print block.',
      codeTooltip: 'See generated JavaScript code.',
      linkTooltip: 'Save and link to blocks.',
      // HelpUrl links.
      printHelpUrl: 'http://en.wikipedia.org/wiki/Printing',
      fontHelpUrl: 'http://en.wikipedia.org/wiki/Font',
      // Toolbox categories.
      catTurtle: 'Turtle',
      catControl: 'Control',
      catLogic: 'Logic',
      catMath: 'Math',
      catLists: 'Lists',
      catColour: 'Colour',
      catVariables: 'Variables',
      catProcedures: 'Procedures',
      // Misc text.
      unloadWarning: 'Leaving this page will result in the loss of your work.',
      runProgram: 'Run Program',
      resetProgram: '\u00A0 \u00A0 Reset \u00A0 \u00A0',
      title: 'Turtle Graphics'
    };
    if ('BlocklyStorage' in window) {
      BlocklyStorage.HTTPREQUEST_ERROR = 'There was a problem with the request.\n';
      BlocklyStorage.LINK_ALERT = 'Share your blocks with this link:\n\n';
      BlocklyStorage.HASH_ERROR =
          'Sorry, "%1" doesn\'t correspond with any saved Blockly file.';
      BlocklyStorage.XML_ERROR = 'Could not load your saved file.\n'+
          'Perhaps it was created with a different version of Blockly?\nXML: ';
    }
    var languageSrc = ['en_compressed.js'];
  </script>
</head>
<body>
  <script type="text/javascript" src="turtle.js"></script>
</body>
</html>
